home *** CD-ROM | disk | FTP | other *** search
/ Amiga Collections: Taifun / Taifun 029 (1987-08-15)(Ossowski, Stefan)(DE)(PD).zip / Taifun 029 (1987-08-15)(Ossowski, Stefan)(DE)(PD).adf / FractalGenerator / Poster < prev    next >
Text File  |  1978-08-10  |  1KB  |  27 lines

  1. #! rnews 9749
  2. Path: van-bc!ubc-vision!alberta!myrias!cg
  3. From: cg@myrias.UUCP (Chris Gray)
  4. Newsgroups: comp.sys.amiga
  5. Subject: Scenery generator in Draco (plus object)
  6. Keywords: scenery Draco source
  7. Message-ID: <490@myrias.UUCP>
  8. Date: 9 Mar 87 20:32:28 GMT
  9. Sender: news@myrias.UUCP
  10. Organization: Myrias Research, Edmonton
  11. Lines: 274
  12.  
  13. Generating good-looking pseudo-random scenery (terrain) has interested me
  14. for a while (I'm into computer game playing as well as compilers). A couple
  15. of years ago I tried to generate scenery using a "volcano" type generator
  16. (lead on by the "Empire" manual). I got one going, but it was VERY slow. I
  17. eventually came up with a method that touches each point only once, and
  18. uses only small integer calculations. The first version I did (in Draco of
  19. course) for the Spectrum card (128 x 192 x 2) in my Compupro CP/M system.
  20. Here follows a version I whipped up for the Amiga. It's in Draco, so you
  21. won't be able to compile it (also you don't have the include files :-( ).
  22. So, following it is the uuencoded object. It takes a few seconds to produce
  23. the image, so have patience.
  24.  
  25.     Chris Gray (ubc-vision,sask)!alberta!myrias!cg
  26.  
  27.